/**
@description api文件

@copyright    Copyright 2021 高灯科技
@version      1.0.0
@link         https://www.goldentec.com
@author       venki.chen <venki.chen@goldentec.com>
@datetime     2021/11/19 10:30
*/

package api

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

type msg struct {
	Name    string
	Age     int
	Message string
}

func SayHello(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"message": "hello golang",
		"data":    []int{1, 2, 3, 4},
	})
}
